Skip to main content

averageDeviation

Type

function

Summary

Returns the average deviation of a list of numbers.

Syntax

averageDeviation(<numbersList>)

Description

Use the averageDeviation function to analyze the amount of spread in a list of numbers.

The average deviation is a measure of how widely distributed the numbers in the numbersList are.

If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information.

Parameters

NameTypeDescription

numbersList

A comma-separated list of numbers, or an expression that evaluates to such a list, or an array containing only numbers.

Examples

averageDeviation(8,10,12) -- returns 1.333333
put averageDeviation(studentScores) into field "Average Deviation"

glossary: return, math operation

control structure: function

function: populationVariance, variance, average, median, populationStandardDeviation, sum, standardDeviation

Compatibility and Support

Introduced

LiveCode 6.1

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?